**** dT 0.000 * top TEST ../../../../bin/varnishtest/tests/v00045.vtc starting **** top extmacro def pkg_version=trunk **** top extmacro def pkg_branch=trunk **** top extmacro def pwd=/home/linux1/VT/varnish-cache/varnish-trunk/_build/sub/bin/varnishtest **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:46175 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top extmacro def topbuild=/home/linux1/VT/varnish-cache/varnish-trunk/_build/sub **** top extmacro def topsrc=/home/linux1/VT/varnish-cache/varnish-trunk/_build/sub/../.. **** top macro def testdir=/home/linux1/VT/varnish-cache/varnish-trunk/_build/sub/bin/varnishtest/../../../../bin/varnishtest/tests **** top macro def tmpdir=/home/linux1/VT/_vtest_tmp/vtc.1879377.18de4349 **** top macro def vtcid=vtc.1879377.18de4349 ** top === varnishtest "Hold a reference to a VCL after a COLD event" * top VTEST Hold a reference to a VCL after a COLD event ** top === server s1 -start ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=35991 **** s1 macro def s1_sock=127.0.0.1:35991 * s1 Listen on 127.0.0.1:35991 ** top === varnish v1 -vcl+backend { **** dT 0.004 ** s1 Started on 127.0.0.1:35991 (1 iterations) **** dT 0.017 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /home/linux1/VT/_vtest_tmp/vtc.1879377.18de4349/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug,+H2RxHdr,+H2RxBody -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 41389' -P /home/linux1/VT/_vtest_tmp/vtc.1879377.18de4349/v1/varnishd.pid -p vmod_path=/home/linux1/VT/varnish-cache/varnish-trunk/_build/sub/vmod/.libs *** v1 CMD: cd /home/linux1/VT/varnish-cache/varnish-trunk/_build/sub/bin/varnishtest && exec varnishd -d -n /home/linux1/VT/_vtest_tmp/vtc.1879377.18de4349/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug,+H2RxHdr,+H2RxBody -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 41389' -P /home/linux1/VT/_vtest_tmp/vtc.1879377.18de4349/v1/varnishd.pid -p vmod_path=/home/linux1/VT/varnish-cache/varnish-trunk/_build/sub/vmod/.libs *** v1 PID: 1879396 **** v1 macro def v1_pid=1879396 **** v1 macro def v1_name=/home/linux1/VT/_vtest_tmp/vtc.1879377.18de4349/v1 **** dT 0.019 *** v1 debug|Info: Working directory not mounted on tmpfs partition **** dT 0.035 *** v1 debug|Debug: Version: varnish-trunk revision c412418261f2a64e48b36c93536358bc53f00ef7 *** v1 debug|Debug: Platform: Linux,4.18.0-553.34.1.el8_10.s390x,s390x,-jlinux,-sdefault,-sdefault,-hcritbit *** v1 debug|200 329 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,4.18.0-553.34.1.el8_10.s390x,s390x,-jlinux,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-trunk revision c412418261f2a64e48b36c93536358bc53f00ef7 *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.134 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 7 *** v1 CLI RX 107 **** v1 CLI RX|tcabqjzsnqqbpqtctibeoinxkosnsfae **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth 65c53288795b8970861d557360fb49d6b38bc20e61853365cf4dd718c879848a *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,4.18.0-553.34.1.el8_10.s390x,s390x,-jlinux,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-trunk revision c412418261f2a64e48b36c93536358bc53f00ef7 **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "35991"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport debug; **** v1 CLI TX|\tsub vcl_init { **** v1 CLI TX|\t\tdebug.vcl_discard_delay(3s); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.236 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.341 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.442 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.543 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.646 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.730 *** v1 CLI RX 200 **** v1 CLI RX|VCL compiled. **** v1 CLI TX|vcl.use vcl1 **** dT 0.734 *** v1 CLI RX 200 **** v1 CLI RX|VCL 'vcl1' now active ** v1 Start **** v1 CLI TX|start **** dT 0.751 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.767 *** v1 debug|Debug: Child (1879409) Started **** dT 0.799 *** v1 debug|Child launched OK **** dT 0.806 *** v1 CLI RX 200 *** v1 wait-running **** v1 CLI TX|status **** dT 0.807 *** v1 debug|Info: Child (1879409) said Child starts **** dT 0.855 **** v1 vsl| 0 CLI - Rd vcl.load "vcl1" vcl_vcl1.1737135034.175638/vgc.so 1auto **** v1 vsl| 0 Debug - vcl1: VCL_EVENT_WARM **** v1 vsl| 0 CLI - Wr 200 52 Loaded "vcl_vcl1.1737135034.175638/vgc.so" as "vcl1" **** v1 vsl| 0 CLI - Rd vcl.use "vcl1" **** v1 vsl| 0 CLI - Wr 200 0 **** v1 vsl| 0 CLI - Rd start **** v1 vsl| 0 Debug - sockopt: Setting SO_LINGER for a0=127.0.0.1:35143 **** v1 vsl| 0 Debug - sockopt: Setting SO_KEEPALIVE for a0=127.0.0.1:35143 **** v1 vsl| 0 Debug - sockopt: Setting SO_SNDTIMEO for a0=127.0.0.1:35143 **** v1 vsl| 0 Debug - sockopt: Setting SO_RCVTIMEO for a0=127.0.0.1:35143 **** v1 vsl| 0 Debug - sockopt: Setting TCP_NODELAY for a0=127.0.0.1:35143 **** v1 vsl| 0 Debug - sockopt: Setting TCP_KEEPIDLE for a0=127.0.0.1:35143 **** v1 vsl| 0 Debug - sockopt: Setting TCP_KEEPCNT for a0=127.0.0.1:35143 **** v1 vsl| 0 Debug - sockopt: Setting TCP_KEEPINTVL for a0=127.0.0.1:35143 **** v1 vsl| 0 CLI - Wr 200 0 **** dT 1.062 *** v1 CLI RX 200 **** v1 CLI RX|Child in state running **** v1 CLI TX|debug.listen_address **** dT 1.294 *** v1 CLI RX 200 **** v1 CLI RX|a0 127.0.0.1 35143 **** v1 CLI TX|debug.xid 1000 **** dT 1.355 *** v1 CLI RX 200 **** v1 CLI RX|XID is 1000 chunk 1 **** v1 CLI TX|debug.listen_address **** dT 1.367 **** v1 vsl| 0 CLI - Rd debug.listen_address **** v1 vsl| 0 CLI - Wr 200 19 a0 127.0.0.1 35143 **** v1 vsl| 0 CLI - Rd debug.xid 1000 **** v1 vsl| 0 CLI - Wr 200 19 XID is 1000 chunk 1 **** dT 1.415 *** v1 CLI RX 200 **** v1 CLI RX|a0 127.0.0.1 35143 ** v1 Listen on 127.0.0.1 35143 **** v1 macro def v1_addr=127.0.0.1 **** v1 macro def v1_port=35143 **** v1 macro def v1_sock=127.0.0.1:35143 **** v1 macro def v1_a0_addr=127.0.0.1 **** v1 macro def v1_a0_port=35143 **** v1 macro def v1_a0_sock=127.0.0.1:35143 ** top === varnish v1 -vcl+backend {} **** v1 CLI TX|vcl.inline vcl2 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "35991"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 1.470 **** v1 vsl| 0 CLI - Rd debug.listen_address **** v1 vsl| 0 CLI - Wr 200 19 a0 127.0.0.1 35143 **** dT 2.832 *** v1 CLI RX 200 **** v1 CLI TX|vcl.use vcl2 **** dT 2.837 *** v1 CLI RX 200 **** v1 CLI RX|VCL 'vcl2' now active ** top === varnish v1 -cliok "vcl.state vcl1 cold" **** v1 CLI TX|vcl.state vcl1 cold **** dT 2.891 **** v1 vsl| 0 CLI - Rd vcl.load vcl2 vcl_vcl2.1737135035.461927/vgc.so 1auto **** v1 vsl| 0 CLI - Wr 200 52 Loaded "vcl_vcl2.1737135035.461927/vgc.so" as "vcl2" **** v1 vsl| 0 CLI - Rd vcl.use vcl2 **** v1 vsl| 0 CLI - Wr 200 0 **** dT 3.379 *** v1 CLI RX 200 ** v1 CLI 200 ** top === delay 1 *** top delaying 1 second(s) **** dT 3.405 **** v1 vsl| 0 CLI - Rd vcl.state vcl1 0cold **** v1 vsl| 0 Debug - vcl1: VCL_EVENT_COLD **** v1 vsl| 0 CLI - Wr 200 0 **** dT 3.840 **** v1 vsl| 0 CLI - Rd ping **** v1 vsl| 0 CLI - Wr 200 19 PONG 1737135037 1.0 **** dT 4.908 ** top === varnish v1 -cliexpect "available cold cooling 0 vcl1... **** v1 CLI TX|vcl.list **** dT 4.964 *** v1 CLI RX 200 **** v1 CLI RX|available cold cooling 0 vcl1 **** v1 CLI RX|active auto warm 0 vcl2 ** v1 CLI 200 ** top === varnish v1 -clijson "vcl.list -j" **** v1 CLI TX|vcl.list -j **** dT 4.989 **** v1 vsl| 0 CLI - Rd vcl.list **** v1 vsl| 0 CLI - Wr 200 76 available cold cooling 0 vcl1 active auto warm 0 vcl2 **** dT 5.117 **** v1 vsl| 0 CLI - Rd vcl.list -j **** v1 vsl| 0 CLI - Wr 200 274 [ 2, ["vcl.list", "-j"], 1737135039.155, { "status": "available", "state": "cold", "temperature": "cooling", "busy": 0, "name": "vcl1" }, { "status": "active", "state": "auto", "temperature": "warm", "bu **** dT 5.390 *** v1 CLI RX 200 **** v1 CLI RX|[ 2, ["vcl.list", "-j"], 1737135039.155, **** v1 CLI RX| { **** v1 CLI RX| "status": "available", **** v1 CLI RX| "state": "cold", **** v1 CLI RX| "temperature": "cooling", **** v1 CLI RX| "busy": 0, **** v1 CLI RX| "name": "vcl1" **** v1 CLI RX|}, **** v1 CLI RX| { **** v1 CLI RX| "status": "active", **** v1 CLI RX| "state": "auto", **** v1 CLI RX| "temperature": "warm", **** v1 CLI RX| "busy": 0, **** v1 CLI RX| "name": "vcl2" **** v1 CLI RX|} **** v1 CLI RX|] ** v1 CLI 200 ** top === delay 1 *** top delaying 1 second(s) **** dT 6.390 ** top === varnish v1 -cliexpect "vmod-debug ref on vcl1" "vcl.state vc... **** v1 CLI TX|vcl.state vcl1 warm **** dT 6.440 *** v1 CLI RX 200 ** v1 CLI 200 **** dT 6.451 ---- v1 Expect failed (no match) * top RESETTING after ../../../../bin/varnishtest/tests/v00045.vtc ** s1 Waiting for server (4/-1) **** dT 6.454 ** v1 Wait **** v1 CLI TX|panic.show **** dT 6.498 **** v1 vsl| 0 CLI - Rd vcl.state vcl1 1warm **** v1 vsl| 0 Debug - vcl1: VCL_EVENT_WARM **** v1 vsl| 0 CLI - Wr 200 0 **** dT 6.507 *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared **** dT 6.524 *** v1 debug|Info: manager stopping child *** v1 debug|Debug: Stopping Child **** dT 6.618 *** v1 debug|Info: Child (1879409) said Child dies **** dT 6.651 **** v1 vsl| 0 CLI - EOF on CLI connection, worker stops **** dT 6.721 *** v1 debug|Info: Child (1879409) ended *** v1 debug|Debug: Child cleanup complete *** v1 debug|Info: manager dies **** v1 STDOUT EOF **** dT 6.753 ** v1 WAIT4 pid=1879396 status=0x0000 (user 0.457459 sys 0.048573) * top TEST ../../../../bin/varnishtest/tests/v00045.vtc FAILED # top TEST ../../../../bin/varnishtest/tests/v00045.vtc FAILED (6.758) exit=2 FAIL tests/v00045.vtc (exit status: 2)